#pragma once
#include <iostream>
namespace FANUC{
    struct CollectData
    {
        int nSerinal;
        double dData;
        double dTimestamp;
    };
    struct fanucConnectInfo
    {
        std::string strIp;
        int nPort; 
        fanucConnectInfo():
            strIp("192.168.1.45"),
            nPort(8193)
        {};
        void operator=(const fanucConnectInfo& info)
        {
            strIp = info.strIp;
            nPort = info.nPort;
        };
    };
};